package dao;

import java.util.Date;

public class Coupon {
	private int couponId;
	private String code;
	private char type;	// gồm 2 kiểu , theo phần trăm hoặc là cố định theo giá trị sản phẩm
	private double discount;
	private int shipping;	//	gồm 2 giá trị o hoặc 1
	private double total;	//	tổng giá trị coupon
	private Date start;
	private Date end;
	private int useTotal;
	private String useCustomer;
	private int status;	//	trạng thái gồm có enable hay là disable
	private Date dateAdded;
	public Coupon() {
		
	}
	public int getCouponId() {
		return couponId;
	}
	public void setCouponId(int couponId) {
		this.couponId = couponId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public char getType() {
		return type;
	}
	public void setType(char type) {
		this.type = type;
	}
	public double getDiscount() {
		return discount;
	}
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	public int getShipping() {
		return shipping;
	}
	public void setShipping(int shipping) {
		this.shipping = shipping;
	}
	public double getTotal() {
		return total;
	}
	public void setTotal(double total) {
		this.total = total;
	}
	public Date getStart() {
		return start;
	}
	public void setStart(Date start) {
		this.start = start;
	}
	public Date getEnd() {
		return end;
	}
	public void setEnd(Date end) {
		this.end = end;
	}
	public int getUseTotal() {
		return useTotal;
	}
	public void setUseTotal(int useTotal) {
		this.useTotal = useTotal;
	}
	public String getUseCustomer() {
		return useCustomer;
	}
	public void setUseCustomer(String useCustomer) {
		this.useCustomer = useCustomer;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getDateAdded() {
		return dateAdded;
	}
	public void setDateAdded(Date dateAdded) {
		this.dateAdded = dateAdded;
	}
	
	
}
